# -*- coding: UTF-8 -*-
__author__ = 'xinhui1'


def do_validate(data):
    """
    a template for validator
    :param date: the data to validate
    :return: (status, message)
        status，result status, 0 for passed, 1 for warning, 2 for error
        message，result message
    """
    print 'this is a template for validators'
    return 0, 'template'


if __name__ == '__main__':
    print 'this module can not run'

